<script setup>
import { useRoute } from 'vue-router'
const route = useRoute()
const id = route.query.id
</script>

<template>
  <main>
    <h3>{{ $route.query.id }}</h3>
    <h3>{{ id }}</h3>
  </main>
</template>
